package com.tensquare.user.dao;

import com.tensquare.user.pojo.Admin;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author zzb
 * @create 2021/2/23
 */
public interface AdminDao extends JpaRepository<Admin,String> {
    //根据登录名查询用户
    Admin findByLoginname(String name);
}
